package com.ocp.socket.common.enums;

import com.ocp.socket.common.Constants;

/**
 * @Author : lichong
 * @description :
 * @Date Create in 19:16 2019/3/9
 * @Modified By :
 **/
public enum MsgTypeEnum {
    MILK("MILK", Constants.DEVICE_TYPE_DEVICE),
    AIRP("AIRP",  Constants.DEVICE_TYPE_DEVICE),
    COOL("COOL",  Constants.DEVICE_TYPE_DEVICE),
    PUMP("PUMP",  Constants.DEVICE_TYPE_DEVICE),
    VALV("VALV",  Constants.DEVICE_TYPE_DEVICE),
    TEMP("TEMP",  Constants.DEVICE_TYPE_DEVICE),
    NORM("NORM",  Constants.DEVICE_TYPE_DEVICE),
    A("0000",  Constants.DEVICE_TYPE_APP),
    B("0001",  Constants.DEVICE_TYPE_APP),
    C("0002",  Constants.DEVICE_TYPE_APP),
    D("0003",  Constants.DEVICE_TYPE_APP),
    E("0004",  Constants.DEVICE_TYPE_APP),
    F("0005",  Constants.DEVICE_TYPE_APP),
    G("0006",  Constants.DEVICE_TYPE_APP),
    H("0007",  Constants.DEVICE_TYPE_APP),
    I("0008",  Constants.DEVICE_TYPE_APP),
    J("0009",  Constants.DEVICE_TYPE_APP),
    K("0010",  Constants.DEVICE_TYPE_APP);


    private String typeCode;
    private String appType;

    MsgTypeEnum(String typeCode, String appType) {
        this.typeCode = typeCode;
        this.appType = appType;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public String getAppType() {
        return appType;
    }
}
